package org.xxpay.core.service;

import org.xxpay.core.entity.PayDomain;

import java.util.List;

/**
 * @author: pangxiaoyu
 * @date: 2020/01/17
 * @description: 支付域名接口
 */
public interface IPayDomainService {

    int add(PayDomain payDomain);

    int update(PayDomain payDomain);

    PayDomain find(PayDomain payDomain);

    List<PayDomain> select(int offset, int limit, PayDomain payDomain);

    Integer count(PayDomain payDomain);

    List<PayDomain> selectList(PayDomain payDomain);

    PayDomain findById(Integer id);

    int batchDelete(String[] ids);

    PayDomain getRandomPayDomain(Byte... domainTypes);
}
